<!DOCTYPE html>
<html lang="zh-cmn-Hans" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link th:href="@{/images/userLog1.png}"  sizes="90x90" type="image/x-icon" rel="icon">
    <link th:href="@{/frontstatic/css/iconfont.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/global.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/bootstrap-theme.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/swiper.min.css}" rel="stylesheet">
    <link th:href="@{/frontstatic/css/styles.css}" rel="stylesheet">
    <script charset="utf-8" th:src="@{/lib/layui-v2.6.3/layui.js}"></script>
    <link media="all" rel="stylesheet" th:href="@{/lib/layui-v2.6.3/css/layui.css}">
    <script charset="utf-8" th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/bootstrap.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/swiper.min.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/global.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/jquery.DJMask.2.1.1.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/notify.js}"></script>
    <script charset="UTF-8" th:src="@{/frontstatic/js/notify_stand.js}"></script>
    <title>商品评价</title>
</head>
<body>

<div th:replace="~{head::headdeg}"></div>
<div class="content clearfix bgf5">
    <section class="user-center inner clearfix">
        <div class="pull-left bgf">
            <dl class="user-center__nav">
                <dt>帐户信息</dt>
                <a href="/skippage?url=udai_setting">
                    <dd>个人资料</dd>
                </a>
                <a href="/skippage?url=udai_address">
                    <dd>收货地址</dd>
                </a>
                <a href="/skippage?url=udai_pwd_modify">
                    <dd>修改登录密码</dd>
                </a>
            </dl>
            <dl class="user-center__nav">
                <dt>订单中心</dt>
                <a href="/skippage?url=udai_order">
                    <dd class="active">我的订单</dd>
                </a>
                <a href="/skippage?url=udai_refund">
                    <dd>售后</dd>
                </a>
            </dl>
        </div>
        <div class="pull-right">
            <div class="user-content__box clearfix bgf">
                <div class="title">我的订单-商品评价</div>
                <div class="modify_div">
                    <form action="/evaluate/save" method="post" class="evaluate-form__box" style="margin-left: 100px">
                        <span class="help-block">快评论一番，让其他买家开开眼</span>
                        <table class="table table-bordered">
                            <tr>
                                <th scope="row">评价等级</th>
                                <td class="user-form-group fz0">
                                    <label><input checked="" name="grade" type="radio" value="0"><i class="iconfont icon-radio"></i> <span>好评</span></label>
                                    <label><input name="grade" type="radio" value="1"><i class="iconfont icon-radio"></i> <span>中评</span></label>
                                    <label><input name="grade" type="radio" value="2"><i class="iconfont icon-radio"></i> <span>差评</span></label>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">评价商品</th>
                                <td><textarea name="text" e placeholder="请输入您对该商品的评价~" rows="5"></textarea>
                                <input name="orderId" id="idinput" style="display: none"></td>
                            </tr>
                        </table>
                        <div class="checkbox">
                            <label><input name="falg" type="checkbox"><i></i> 匿名评价</a></label>
                            <button class="but pull-right" type="submit">提交评价</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
</body>
<script>
    function getQueryString(name) {
        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
        var r = window.location.search.substr(1).match(reg);
        if (r != null) {
            return unescape(r[2]);
        }
        return null;
    }
   var Orderid=getQueryString("id")
   $("#idinput").val(Orderid)
</script>
</html>